All Questions
2 questions
3votes
1answer
159views
Constexpr circular queue - follow-up #1
Follow up to my question here: Constexpr circular queue . I've taken the time to fix the many problems pointed out there and am asking for any tips/corrections for the new version below. The queue ...
4votes
1answer
225views
Constexpr circular queue
Below is a constexpr circular queue whose size is fixed. From what I tested the code seems to work exactly as expected of a queue. One advantage is how there's no dynamic allocations, so ignoring the ...